package zyl.com.controller;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class DemoJobHandler {

    @XxlJob("jobDemo")
    public ReturnT<String> jobDemo(String param) throws Exception {
        System.out.println("测试job的输入参数："+param);
        return ReturnT.SUCCESS;
    }
}